package com.xmtlxx.sacw.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 评估信息
 *
 * @author hergreen
 * @date 2024/07/15 13:57
 **/
@Data
@ApiModel("评估信息")
@ExcelIgnoreUnannotated
public class EvaluateInfoVo {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("评估编号")
    @ExcelProperty(value = "评估编号")
    private String evaluateNo;

    @ApiModelProperty("评估财物数量")
    @ExcelProperty(value = "评估财物数量")
    private String evaluateProNumber;

    @ApiModelProperty("评估财物价值")
    @ExcelProperty(value = "评估财物价值")
    private String evaluateProValue;

    @ApiModelProperty("评估机构")
    @ExcelProperty(value = "评估机构")
    private String evaluateAgency;

    @ApiModelProperty("评估地点")
    @ExcelProperty(value = "评估地点")
    private String evaluatePlace;

    @ApiModelProperty("是否到场")
    @ExcelProperty(value = "是否到场", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=否,1=是")
    private Integer evaluateIsPresent;

    @ApiModelProperty("评估时间")
    @ExcelProperty(value = "评估时间")
    private Date evaluateTime;

}
